package com.huilian.iotbox.client.dao;

import com.huilian.iotbox.data.dto.OrderRefundDto;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author 谢洛涛
 * @date 2021/7/15 10:14
 */
@Mapper
public interface OrderRefundDao {
    OrderRefundDto getRefundOrderByOutradeNo(String outTradeNo);

    Integer insert(OrderRefundDto orderRefundDto);

    Integer checkOrderAndRefundDateDif(OrderRefundDto orderRefundDto);

    Integer updateOrderRefund(OrderRefundDto orderRefundDto);

    OrderRefundDto getInfoByOutTradeNo(String valueOf);
}
